package com.local.goods.pojo;

/**
 * 商品列表请求的参数bean对象
 */
public class GoodsListRequestParam {
    private Integer page;
    private Integer limit;
    private String sort;
    private String order;
    private String goodsName;
    private Integer goodsSellStatus;

    public GoodsListRequestParam(){}

    public GoodsListRequestParam(Integer page, Integer limit, String sort, String order, String goodsName, Integer goodsSellStatus) {
        this.page = page;
        this.limit = limit;
        this.sort = sort;
        this.order = order;
        this.goodsName = goodsName;
        this.goodsSellStatus = goodsSellStatus;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsSellStatus() {
        return goodsSellStatus;
    }

    public void setGoodsSellStatus(Integer goodsSellStatus) {
        this.goodsSellStatus = goodsSellStatus;
    }

    @Override
    public String toString() {
        return "GoodsListRequestParam{" +
                "page=" + page +
                ", limit=" + limit +
                ", sort='" + sort + '\'' +
                ", order='" + order + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsSellStatus=" + goodsSellStatus +
                '}';
    }
}
